<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .a {
            width: 100px;
            height: 100px;
            background: #f00;
            margin: 100px;
            transition: 3s;
        }

        .a:hover {
            /* 转换 */
            /* 倾斜只有x y   默认是x */
            transform: skewY(45deg);
        }

        .a img {
            width: 100px;
            height: 100px;
        }
    </style>
</head>

<body>

    <div class="a">
        <img src="https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/cf63f6314d3e842cfc80e9a2e44e2773.jpg?thumb=1&w=1839&h=690&f=webp&q=90"
            alt="">
    </div>
    55555555555555
</body>

</html>